<%-- 
    Document   : login
    Created on : Jan 26, 2014, 12:15:21 AM
    Author     : makish
--%>

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<s:layout-render name="/jsp/layout.jsp" titlekey="index.title">
    <s:layout-component name="body">

        <s:form name="loginForm" action="${pageContext.request.contextPath}/j_spring_security_check" method="post">
            <fieldset>
                <legend>Login page</legend>
                <table>
                    <tr>
                        <th width="50%"><s:label for="e7" name="username"/></th>
                        <td width="50%"><s:text id="e7" name="j_username"/></td>
                    </tr>
                    <tr>
                        <th><s:label for="e8" name="password"/></th>
                        <td><s:password id="e8" name="j_password"/></td>
                    </tr>
                </table>
            </fieldset>
            <div class="row">
                <div class="span4">
                </div>
                <s:submit id="button" class="btn" name="submit"><f:message key="navigation.login"/></s:submit>
                </div>

        </s:form>
        
    </s:layout-component>
</s:layout-render>
